package com.tuniu.agents.common.message;

import lombok.Getter;

@Getter
public enum CardTypeEnum {
    FLIGHT_LIST_ONE("flight", "list-one", "Single Trip Flight List", "Flight:"),
    FLIGHT_LIST_ROUND("flight", "round-list-one", "Round Trip Flight List", "Flight:"),
    FLIGHT_DETAIL("flight", "detail", "Flight Details Page", "Flight:"),
    FLIGHT_ROUND_DETAIL("flight", "round-detail", "Round Trip Flight Details Page", "Flight:"),

    HOTEL_LIST_ONE("hotel", "list-one", "Hotel List Page", "Hotel:"),
    HOTEL_DETAIL("hotel", "detail", "Hotel Details Page", "Room Type:"),
    HOTEL_PACKAGE_LIST_ONE("hotel", "package-list-one", "Package Hotel List Page", "Hotel:"),

    TRAIN_TYPE("train", "list-one", "One-Way Train Ticket List", "Train Ticket:"),
    TRAIN_DETAIL("train", "detail", "Train Ticket Details", "Train Ticket:"),
    TRAIN_CROSS("train", "cross", "Multiple Station Ticket Purchase", "Train Ticket:"),
    TRAIN_CHANGE("train", "change", "Same Train Seat Change", "Train Ticket:"),

    TICKET_SPOT_DESC("ticket", "scenic-desc", "scenic ticket description","ticket:"),
    TICKET_DETAIL("ticket", "detail", "scenic ticket detail","ticket:"),
    HOT_SCENIC("ticket", "list-scenic", "scenic detail list","ticket:"),

    WEATHER("weather", "list", "weather detail list","weather:"),
    RESTAURANT("restaurant", "list", "restaurant detail list","restaurant:"),

    CAR_PACKAGE_LIST_ONE("car", "package-list-one", "Car Rental List Page", "Car Rental:"),
    ITINERARY("itinerary", "list", "itinerary information", "itinerary:")

    ;

    private String type;

    private String secondType;

    private String desc;

    private String answer;

    public String getCardType() {
        return this.getType()+"_"+this.getSecondType();
    }

    CardTypeEnum(String type, String secondType, String desc, String answer) {
        this.type = type;
        this.secondType = secondType;
        this.desc = desc;
        this.answer = answer;
    }

}
